from django.conf.urls import url
from django.urls import path, re_path

from apps.goods import views
from goods.views import IndexView, DetailView,ListView

app_name = 'goods'
urlpatterns = [
    path('index', IndexView.as_view(), name='index'),
    path('goods/<int:goods_id>', DetailView.as_view(), name='detail'),
    re_path(r'list/(?P<type_id>\d+)/(?P<page>\d+)$', ListView.as_view(), name='list')
]
